package cn.edkuir.seckill.to;

import cn.edkuir.seckill.vo.SkuInfoVo;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@ToString
public class SeckillRedisTo {

    private Long id;

    private Long promotionId;

    private Long promotionSessionId;

    private Long skuId;

    private BigDecimal seckillPrice;

    private Integer seckillCount;

    private Integer seckillLimit;

    private Integer seckillSort;

    //sku的详细信息
    private SkuInfoVo skuInfo;

    //秒杀开始/结束时间
    private Long startTime;
    private Long endTime;

    //秒杀随机码
    private String randomCode;

}
